package com.nebula.salary.model.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 角色查询数据传输类
 *
 * @author codex
 * @since 2022-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RoleQueryDto对象", description="角色查询数据传输类")
public class RoleQueryDto extends PageDto implements Serializable {
    private static final long serialVersionUID = -2419933107379447751L;
    
    @ApiModelProperty(value = "权限ID")
    private Integer roleId;
    
    @ApiModelProperty(value = "权限名称")
    private String roleName;
    
    @ApiModelProperty(value = "SpringSecurity对应的权限")
    private String roleSecurity;
    
    @ApiModelProperty(value = "权限级别 0-超级管理员 1-管理员 2-普通用户")
    private Integer roleLevel;
    
    @ApiModelProperty(value = "开始时间")
    private String beginTime;
    
    @ApiModelProperty(value = "结束时间")
    private String endTime;
}
